package com.miplus.ccrm.report.service.cti;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.report.controller.vo.cti.CallAgDayReqVo;
import com.miplus.ccrm.report.controller.vo.cti.CallAgDayResVo;
import com.miplus.ccrm.report.controller.vo.cti.CallHistReqVo;
import com.miplus.ccrm.report.controller.vo.cti.CallHistResvo;
import com.miplus.ccrm.report.controller.vo.rep.DistCaseNumReqVo;
import com.miplus.ccrm.report.controller.vo.rep.DistCaseNumResVo;
import com.miplus.ccrm.report.controller.vo.rep.RecyAgDayReqVo;
import com.miplus.ccrm.report.controller.vo.rep.RecyAgDayResVo;
import com.miplus.ccrm.report.pojo.ReportCallHist;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
* @author pc
* @description 针对表【report_call_hist】的数据库操作Service
* @createDate 2024-07-30 13:27:08
*/
public interface ReportCallHistService extends MPJBaseService<ReportCallHist> {

    IPage<CallHistResvo> callHist(JSysUser user, CallHistReqVo paras);

    IPage<CallAgDayResVo> repAgentCallDay(String usrid, CallAgDayReqVo paras);

    IPage<RecyAgDayResVo> recoveryTotal(String usrid, RecyAgDayReqVo paras);

    IPage<DistCaseNumResVo> assignTotal(String usrid, DistCaseNumReqVo paras);

    CmdResVo expAgentCallDay(String usrid, CallAgDayReqVo paras, HttpServletResponse response);

    CmdResVo expRecoveryTotal(String usrid, RecyAgDayReqVo paras, HttpServletResponse response);

    CmdResVo expAssignTotal(String usrid, DistCaseNumReqVo paras, HttpServletResponse response);
}
